package com.neuedu.spring.autowire;

public class UserController {

    private UserService userService;

    public void methodName() {
        System.out.println("UserController.methodName");
        userService.methodName();
    }


    public UserService getUserService() {
        return userService;
    }

    public void setUserService(UserService userService) {
        this.userService = userService;
    }
}
